ArcPad Map File Schema
UPDOWN Element
See Also  Send comments on this topic.
ArcPad Map File Schema > PAGE Element : UPDOWN Element

Glossary Item Box

Description

Used to define an UpDown control in a form.

Diagram

UPDOWN Element

Overview

UPDOWN
Used to define an UpDown control in a form.
height required Restriction of xs:int
width required Restriction of xs:int
x required xs:int
The x coordinate of the upper left corner of the control.
y required xs:int
The y coordinate of the upper left corner of the control
alignment optional Restriction of xs:string
border optional Restriction of xs:string
buddy optional xs:string
group optional Restriction of xs:string
lower optional xs:int
The minimum number in the range of the control.
name optional xs:string

When parent is ToolButton:

Custom tool name. Used to reference the tool in scripts.

orientation optional Restriction of xs:string
upper optional xs:int

Attributes

NameTypeUseDefaultFixedDescription
heightRestriction of xs:intrequired   
widthRestriction of xs:intrequired   
xxs:intrequired  The x coordinate of the upper left corner of the control.
yxs:intrequired  The y coordinate of the upper left corner of the control
alignmentRestriction of xs:stringoptionalleft  
borderRestriction of xs:stringoptionalfalse  
buddyxs:stringoptional   
groupRestriction of xs:stringoptionalfalse  
lowerxs:intoptional  The minimum number in the range of the control.
namexs:stringoptional  

When parent is ToolButton:

Custom tool name. Used to reference the tool in scripts.

orientationRestriction of xs:stringoptionalvert  
upperxs:intoptional   

Examples

Source

<xs:element name="UPDOWN" maxOccurs="1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to define an UpDown control in a form.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:attribute use="required" ref="height">
      <xs:annotation>
        <xs:documentation>The height of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" ref="width">
      <xs:annotation>
        <xs:documentation>The width of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="x" type="xs:int">
      <xs:annotation>
        <xs:documentation>The x coordinate of the upper left corner of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute use="required" name="y" type="xs:int">
      <xs:annotation>
        <xs:documentation>The y coordinate of the upper left corner of the control</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="left" ref="alignment">
      <xs:annotation>
        <xs:documentation>The alignment of the control with respect to its buddy control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" ref="border">
      <xs:annotation>
        <xs:documentation>Specifies whether the control has a border.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="buddy">
      <xs:annotation>
        <xs:documentation>The Edit control that is associated with the Slider control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="false" ref="group">
      <xs:annotation>
        <xs:documentation>Specifies whether the control starts a new group of controls.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute name="lower" type="xs:int">
      <xs:annotation>
        <xs:documentation>The minimum number in the range of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="name">
      <xs:annotation>
        <xs:documentation>Name of the UpDown control. Used to reference the control in scripts.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="vert" ref="orientation">
      <xs:annotation>
        <xs:documentation>The alignment of the control with respect to its buddy control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="upper">
      <xs:annotation>
        <xs:documentation>The maximum number in the range of the control.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.